import React from 'react'
import { connect } from "react-redux"

const mapState = (state) => {
    return {
        state
    }
}

const mapDispatch = (dispatch) => {
    return {}
}
@connect(mapState, mapDispatch)

class Product extends React.Component {
    render() {
        return (
            <fieldset>
                <legend>Product</legend>
                <h1>{this.props.state.Users}</h1>
            </fieldset>
        )
    }
}

export default Product